import ProxyInterface from '../proxy-interface';
import {CommentPageModel} from '@pkpm/pkpm-types';

class CommentPageProxy implements ProxyInterface<CommentPageModel> {
    private commentPage = new CommentPageModel();

    constructor(responseData) {
        let data = responseData;
        Object.assign<CommentPageModel, any>(this.commentPage, data);
    }

    getModel(): CommentPageModel {
        return this.commentPage;
    }
}

export {CommentPageProxy};
